modernize garmin_txt (#1080)
authortsteven4 <13596209+tsteven4@users.noreply.github.com>
Sun, 23 Apr 2023 21:25:58 +0000 (15:25 -0600)
committerGitHub <noreply@github.com>
Sun, 23 Apr 2023 21:25:58 +0000 (15:25 -0600)
commit678d611cb89242b5c0017668e834de63fb4710ad
tree0f1b977dab3b73d68f3f2c76e181021dec5429cc
parent5a06dbaee41a37ae998996ddcfd9360d3c877767
modernize garmin_txt (#1080)

* modernize garmin_txt string handling.

also:
wean from strupper.
test binding fields to the headers in the reader.
test the writer.

* demacro garmin_txt

* eliminate redundant assignments

* astyle

* use containers for garmin_txt mapping info.

* garmin_txt reader warn on unrecognized header

and retire memset.

* use some bools, change parse_date_and_time signature.
garmin_txt.cc
reference/garmin_txt_reorder.txt [new file with mode: 0755]
testo.d/garmin_txt.test